﻿using Inovout.Gis.Geometry;
using System.Collections.Generic;
using Inovout.Land;
using System.Linq;

namespace Inovout.Gis.Land.DiLei
{
    public class DiLeiPointLayer : DiLeiLayer
    {
        internal DiLeiPointLayer(IGeometryLayerInfo layerInfo) :
            base(layerInfo)
        {
        }
        public IEnumerable<DiLeiPoint> Points
        {
            get { return base.Geometries.Cast<DiLeiPoint>(); }
        }

        internal List<FLMJX> GetDLMJXs()
        {
            double mj = 0;
            foreach (var point in Points)
            {
                string dl = point.DLCode;
                mj = +point.Area;
            }
            return null;
        }
    }
}
